package com.example.demo02.constants;

/**
 * 自定义redis常量
 */
public class RedisConstants {

    //定义项目名
    public final static String PROJECTNAME = "XDPCP:";

    //数据字典
    public static final String SYSPARAM = "SYSPARAM";

    //系统参数
    public static final String SYSPARAMS = "SYSPARAMS";

    //第三方账号
    public static final String THIRDACCOUNT = "THIRDACCOUNT";

    //access_token
    public static final String THIRDACCOUNT_ACCESSTOKEN = "access_token";

    //signkey
    public static final String THIRDACCOUNT_SIGNKEY = "signkey";

    //portpwd
    public static final String THIRDACCOUNT_PORTPWD = "portpwd";

    //expires_in
    public static final String THIRDACCOUNT_EXPIRESIN = "expires_in";

    //第三方账号和外部ID关联信息
    public static final String THIRDACCOUNTPARK = "THIRDACCOUNTPARK";

    //固定车车主用户表
    public static final String CAROWNER = "CAROWNER";

    //闸道表
    public static final String GATE = "GATE";

    //停车场区域表
    public static final String REGION = "REGION";

    //停车场配置表
    public static final String PARKPOTCONFIG = "PARKPOTCONFIG";

    //停车场配置表
    public static final String CAR = "CAR";

    //特殊车辆配置表
    public static final String SPECIALCAR = "SPECIALCAR";

    //通行规则配置表
    public static final String PERMITRULE = "PERMITRULE";

    //盒子配置表
    public static final String BOX = "BOX";

    //语音模板配置表
    public static final String PARKPOTDISPLAY = "PARKPOTDISPLAY";

    //运营单位
    public static final String OPTUNIT = "OPTUNIT";

    //收费区
    public static final String GROUP = "GROUP";

    //停车点
    public static final String PARKPOINT = "PARKPOINT";

    //停车场
    public static final String PARKPOT = "PARKPOT";

    //验证码
    public static final String ACCOUNTPIN_ = "ACCOUNTPIN:";

    //后台验证码
    public static final String MANAGEPIN_ = "MANAGEPIN:";

    //停车场空位数
    public static final String PARKPOTFREENUM = "PARKLOTFREENUM";

    //停车点空位数
    public static final String PARKPOINTFREENUM = "PARKPOINTFREENUM";

    //停车场空位数
    public static final String PARKPOTTOTALNUM = "PARKPOTTOTALNUM";

    //停车点空位数
    public static final String PARKPOINTTOTALNUM = "PARKPOINTTOTALNUM";

    //account分类
    public static final String ACCOUNT = "ACCOUNT:";

    //account分类
    public static final String WEBTOKEN_ = "WEBTOKEN_";

    public static final String VERIFYCODE_ = "VERIFYCODE_";

    public static final String RSAKEY_ = "RSAKEY_";

    //登录utoken
    public static final String UTOKEN_ = "UTOKEN_";

    //登录accountid
    public static final String ACCOUNTID_ = "ACCOUNTID_";

    //停车点短信默认模板关联信息
    public static final String MSGMODELPARKPOINTMR = "MSGMODELPARKPOINTMR";

    //收费区短信默认模板关联信息
    public static final String MSGMODELGROUP = "MSGMODELGROUP";

    //节假日配置分类
    public static final String CALENDAR = "CALENDAR";

    //车牌包月
    public static final String RENTCAR="RENTCAR";

    //上级上送平台
    public static final String CLOUDPLAT="CLOUDPLAT";
    //ETC
    public static final String ETC="ETC";

    //过期时间变量
    //10分钟
    public static final long TEN_MIN = 600;

    //30分钟
    public static final long THIRTY_MIN = 3 * 10 * 60;

    //10小时
    public static final long TEN_HOURS = 10 * 60 * 60;

    //一天
    public static final long ONE_DAY = 60 * 60 * 24;

    //7天
    public static final long SEVEN_DAY = 60 * 60 * 24 * 7;

}
